package com.jumi.microservice.rocketmq.domain;

import java.io.Serializable;

/**
 * @author scw
 * @date 2020/9/28
 */
public class OrderAfterSaleEvent implements Serializable {
    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 商品skuId
     */
    private Integer skuId;

    /**
     * 商品spuId
     */
    private Integer spuId;

    /**
     * 下单购买数量
     */
    private Integer buyNum;

    /**
     * 售后数量
     */
    private Integer afterNum;

    public OrderAfterSaleEvent() {
    }

    public OrderAfterSaleEvent(Integer orderId, Integer skuId,  Integer spuId, Integer buyNum, Integer afterNum) {
        this.orderId = orderId;
        this.skuId = skuId;
        this.spuId = spuId;
        this.buyNum = buyNum;
        this.afterNum = afterNum;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }

    public Integer getAfterNum() {
        return afterNum;
    }

    public void setAfterNum(Integer afterNum) {
        this.afterNum = afterNum;
    }
}

